Security News
vlt Debuts New JavaScript Package Manager and Serverless Registry at NodeConf EU
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
@ckeditor/ckeditor5-undo
Advanced tools
@ckeditor/ckeditor5-undo is a plugin for CKEditor 5 that provides undo and redo functionalities. It allows users to revert changes made to the content and reapply them if needed, enhancing the editing experience by providing a way to easily correct mistakes or revisit previous states of the content.
Undo
This feature allows users to revert the last change made to the content. The code sample demonstrates how to include the Undo plugin in a CKEditor 5 build and add undo functionality to the toolbar.
import Undo from '@ckeditor/ckeditor5-undo/src/undo';
ClassicEditor
.create( document.querySelector( '#editor' ), {
plugins: [ Undo, ... ],
toolbar: [ 'undo', 'redo', ... ]
} )
.catch( error => {
console.error( error );
} );
Redo
This feature allows users to reapply the last undone change. The code sample shows how to include the Redo functionality in the CKEditor 5 toolbar using the Undo plugin.
import Undo from '@ckeditor/ckeditor5-undo/src/undo';
ClassicEditor
.create( document.querySelector( '#editor' ), {
plugins: [ Undo, ... ],
toolbar: [ 'undo', 'redo', ... ]
} )
.catch( error => {
console.error( error );
} );
Quill is a modern WYSIWYG editor built for compatibility and extensibility. It includes built-in undo and redo functionalities similar to @ckeditor/ckeditor5-undo. Quill's undo and redo features are part of its core module, making it easy to use without additional plugins.
TinyMCE is a popular rich text editor that also provides undo and redo functionalities. Similar to @ckeditor/ckeditor5-undo, TinyMCE includes these features as part of its core editor capabilities, allowing users to easily revert and reapply changes.
Draft.js is a JavaScript rich text editor framework developed by Facebook. It provides undo and redo functionalities through its EditorState management. Unlike @ckeditor/ckeditor5-undo, Draft.js requires more setup and configuration to implement these features.
This package implements undo support for CKEditor 5.
See the @ckeditor/ckeditor5-undo
package page in CKEditor 5 documentation.
Licensed under the terms of GNU General Public License Version 2 or later. For full details about the license, please check the LICENSE.md
file or https://ckeditor.com/legal/ckeditor-oss-license.
FAQs
Undo feature for CKEditor 5.
The npm package @ckeditor/ckeditor5-undo receives a total of 333,427 weekly downloads. As such, @ckeditor/ckeditor5-undo popularity was classified as popular.
We found that @ckeditor/ckeditor5-undo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
Security News
Research
The Socket Research Team uncovered a malicious Python package typosquatting the popular 'fabric' SSH library, silently exfiltrating AWS credentials from unsuspecting developers.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.